package com.yunxin.core.infra.persistence.mapper.channel;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.yunxin.core.infra.persistence.entity.channel.ChannelPromotionApiCustomerConfigDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author zero°
 * @since 2023-12-14
 */
@DS("core")
@Mapper
public interface ChannelPromotionApiCustomerConfigExtendMapper extends ChannelPromotionApiCustomerConfigMapper {

    /**
     * 根据推广编码查询渠道推广api客户配置
     * @param promotionCode promotionCode
     * @return ChannelPromotionApiCustomerConfig
     */
    ChannelPromotionApiCustomerConfigDO selectChannelPromotionApiCustomerConfigByPromotionCode(@Param("promotionCode") String promotionCode);
}
